const supplierApi = [
  //=========供应商信息========
  {
    name: 'getSupplierList',
    method: 'GET',
    desc: '查询所有供货商 ',
    path: 'supplier/supplierInfo/getSupplierList',
    mockPath: '',
    params: {}
  },
  {
    name: 'deleteSupplierInfo',
    method: 'POST',
    desc: '删除生产统计 ',
    path: '/supplier/supplierInfo/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listSupplierInfo',
    method: 'GET',
    desc: '',
    path: '/supplier/supplierInfo/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'supplierInfoInfo',
    method: 'GET',
    desc: '',
    path: '/supplier/supplierInfo/info/{id}',
    mockPath: '',
    params: {}
  },
  //getSupplierListByIngredientId
  {
    name: 'getSupplierListByIngredientId',
    method: 'GET',
    desc: '',
    path: '/supplier/supplierInfo/getSupplierListByIngredientId/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'getSupplierListByParentId',
    method: 'GET',
    desc: '',
    path: '/supplier/supplierInfo/getSupplierListByParentId/{id}',
    mockPath: '',
    params: {}
  },
  //
  {
    name: 'getSupplierParentList',
    method: 'GET',
    desc: '',
    path: '/supplier/supplierInfo/getSupplierParentList',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveSupplierInfo',
    method: 'POST',
    desc: '',
    path: '/supplier/supplierInfo/save',
    mockPath: '',
    params: {
      id: '',
      supplierName: '',
      mobilePhoneNumber: '',
      remark: '',
      status: ''
    }
  },
  {
    name: 'updateSupplierInfo',
    method: 'POST',
    desc: '',
    path: '/supplier/supplierInfo/update',
    mockPath: '',
    params: {
      id: '',
      supplierName: '',
      mobilePhoneNumber: '',
      remark: '',
      status: ''
    }
  },
//   getSupplierListByParent
  {
    name: 'getSupplierListByParent',
    method: 'GET',
    desc: '',
    path: '/supplier/supplierInfo/getSupplierListByParent',
    mockPath: '',
    params: {}
  },//

  {
    name: 'getSupplierNoList',
    method: 'GET',
    desc: '',
    path: '/supplier/supplierInfo/getSupplierNoList',
    mockPath: '',
    params: {}
  },

]

export default supplierApi
